import Decimal from "decimal.js";

/**
 * @description: 求和
 * @return {*}
 */
export const addTogether = (num1: number | string, num2: number | string) => new Decimal(num1).add(num2).toNumber();

/**
 * @description: 减法
 * @return {*}
 */
export const numSubtract = (num1: number | string, num2: number | string) => new Decimal(num1).minus(num2).toNumber();
